package com.ning.ems.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author Ning 242741154@qq.com
 * @date 2020/4/28 10:27
 */
@Data
@ApiModel("DTO-PSI-Add")
public class PSIAddDto implements Serializable {
    @ApiModelProperty("包裹id")
    @NotNull(message = "包裹id不能为空")
    private Integer pkg;

    @ApiModelProperty("快递员")
    @NotNull(message = "快递员不能为空")
    private Integer courier;

//    @ApiModelProperty("最新状态")
//    @NotNull(message = "最新状态不能为空")
//    private Integer state;
}
